<div id="left-bar">
    
	
	<div id="entregas-content">
            <?php if($this->Session->read('Auth.User')){ ?>
<!--		<span class="count">1</span><span class="entregue">SV001</span><br>
		<span class="count">2</span><span class="transito">SV001</span><br>
		<span class="count">3</span><span class="entregue">SV001</span><br>
		<span class="count">4</span><span class="atrasado">SV001</span><br>
		<span class="count">5</span><span class="entregue">SV001</span><br>
		<span class="count">6</span><span class="transito">SV001</span><br>-->
            <b>Entregas</b>
            <?php $mod = ClassRegistry::init('Atendimento');
                    $at = $mod->find('all', array(
                        'conditions' => array(
                            'isnull(ic_ativo_atendimento_sim_nao) or ic_ativo_atendimento_sim_nao = false'
                        )
                    ));
                    ?>
            <ul class='ul_view_col'>
             <?php       foreach ($at as $a):
            ?>
            <li><?php echo $this->Html->link($a['Atendimento']['id'], array('controller'=>'atendimentos','action'=>'visualizar',$a['Atendimento']['id']) )?></li>
            <?php  endforeach;
    }
            ?>
            </ul>
	</div>
</div>